function act() {
    var b = cm.getReactor().getReactorId() - 9939046;
    cm.addNumberForQuestInfo(100346, "saved", 1);
    cm.getReactor().delayedDestroyReactor(0);
    switch (b) {
        case 0:
            var a = cm.addNumberForQuestInfo(100346, "man", 1);
            cm.addPopupSay(9062212, 1000, "谢谢你救了我！", "", 0);
            cm.setPartner(1, 9062212 + a * 100, 80002839, 0);
            break;
        case 1:
            var a = cm.addNumberForQuestInfo(100346, "woman", 1);
            cm.addPopupSay(9062213, 1000, "谢谢你前来解救我们！", "", 0);
            cm.setPartner(1, 9062213 + a * 100, 80002840, 0);
            break;
        case 2:
            var a = cm.addNumberForQuestInfo(100346, "boy", 1);
            cm.addPopupSay(9062214, 1000, "得救了！之前真是吓死我了！", "", 0);
            cm.setPartner(1, 9062214 + a * 100, 80002841, 0);
            break;
        case 3:
            var a = cm.addNumberForQuestInfo(100346, "girl", 1);
            cm.addPopupSay(9062215, 1000, "其他人不知去哪儿了，我一个人正害怕呢，见到你太好了。", "", 0);
            cm.setPartner(1, 9062215 + a * 100, 80002842, 0);
            break
    }
}
var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(e, d, c) {
    if (status == 0 && e == 0) {
        cm.dispose();
        return
    }(e == 1) ? status++ : status--;
    selectionLog[status] = c;
    var b = -1;
    if (status <= b++) {
        cm.dispose()
    } else {
        if (status === b++) {
            var f = cm.getReactor().getId();
            var a = cm.getReactor().getName();
            cm.sendOk("这个传送点 [" + f + " : " + a + "] 的脚本尚未修复。\r\n脚本位于： 脚本/反应堆/9939047.js ", 0)
        } else {
            cm.dispose()
        }
    }
};